-- GENERATED SPELL FOR [Rotting Sludge] --


function spell0_8607(pUnit, Event) --@Black Sludge,n/a--
pUnit:FullCastSpellOnTarget(7279,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8607', 33000, 1)
end

function Sorts_8607(pUnit, Event)
local choix_sorts_8607 = math.random(0, 0)
if choix_sorts_8607 == 0 then
pUnit:RegisterEvent('spell0_8607', 1, 1)
end
end

function mob8607_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8607', math.random(1500, 3000), 1)
end

function mob8607_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8607_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8607_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8607, 1, 'mob8607_Action')
RegisterUnitEvent(8607, 2, 'mob8607_Leave')
RegisterUnitEvent(8607, 3, 'mob8607_Kill')
RegisterUnitEvent(8607, 4, 'mob8607_Die')
